package com.moli.iov.base.model.po;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import java.io.Serializable;
import java.util.List;
import lombok.Data;

/**
 * <p>
 * 字典
 * </p>
 *
 * @author zph
 * @since 2018-12-11
 */
@Data
public class DictData implements Serializable {

    private static final long serialVersionUID = 1L;

    @TableId(value = "id", type = IdType.AUTO)
    private Long id;

    /**
     * key值
     */
    private String dictCode;

    private String dictType;

    private String dictValue;

    /**
     * 备注
     */
    private String remark;

    private Boolean isFixed;

    /**
     * 字典之间的关系
     */
    private Long pid;

    @TableField(exist = false)
    private List<DictData> child;

}
